<!--注册-->
<div class="login">
    <form method="post" action="<?=Yii::$app->urlManager->createUrl('/user/register');?>">
    <dl>
          <dt><p class="p1">二狐账号注册</p></dt>
          <dd>
             <div class="text_ico user"></div>
             <div class="metext"><input type="text" class="user_tx" name="username" placeholder="请输入6-15位字母或数字"/></div>
          </dd>
          <dd>
             <div class="text_ico password"></div>
             <div class="metext"><input type="password" class="user_tx" name="password" placeholder="请输入密码"/></div>
          </dd>
          <dd>
             <div class="text_ico password"></div>
             <div class="metext"><input type="password" class="user_tx" name="password_confirm" placeholder="再次输入密码"/></div>
          </dd>
          <dt>
             <p class="p3"><input type="checkbox" value="1" name="is_agree" class="mycheck">同意<span>《二狐游戏服务协议》</span></p>
          </dt>
          <dt>
             <a href="<?=Yii::$app->urlManager->createUrl(['/user/register','phone'=>true]);?>" class="a2">手机号码注册</a>
             <input type="hidden" name="_csrf" id="_csrf" value="<?=\Yii::$app->request->csrfToken; ?>" />
             <input type="submit" class="login_bt" value="注册" />
          </dt>
    </dl>
    </form>
</div>